#include<iostream>
#include<functional>
#include<vector>

void task1()
{
    std::cout << "王者荣耀 — 野怪刷新" << std::endl;
}
void task2()
{
    std::cout << "王者荣耀 — 血条刷新" << std::endl;
}
void task3()
{
    std::cout << "王者荣耀 — 刷新日志" << std::endl;
}
void task4()
{
    std::cout << "王者荣耀 — 更新检查" << std::endl;
}

void LogTask(std::vector<std::function<void(void)>>* task)
{
    task->push_back(task1);
    task->push_back(task2);
    task->push_back(task3);
    task->push_back(task4);
}